home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Essential Home & Business Collection
/
The Essential Home & Business Collection.iso
/
27
/
3
/
5
/
HP22D5.ZIP
/
EXTERN
/
INFOAUX.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-04-16
|
977b
|
75 lines
DOSSEG
.MODEL LARGE
.DATA
.CODE INFO_TEXT
assume cs:INFO_TEXT
public Get52Ptr
Get52Ptr proc near
mov ah,52h
int 21h
mov dx,es
mov ax,bx
ret
Get52Ptr endp
public emmptr
emmptr proc near
mov ax,3567h
int 21h
mov dx,es
mov ax,10
ret
emmptr endp
public emmfree
emmfree proc near
mov ah,42h
int 67h
mov ax,bx
mov bx,4000
mul bx
ret
emmfree endp
public emmtotal
emmtotal proc near
mov ah,42h
int 67h
mov ax,dx
mov bx,4000
mul bx
ret
emmtotal endp
public emmversion
emmversion proc near
mov ah,46h
int 67h
xor ah,ah
ret
emmversion endp
public getmemsize
getmemsize proc near
int 12h
ret
getmemsize endp
public getextmemsize
getextmemsize proc near
mov ah,88h
int 15h
ret
getextmemsize endp
public getequipment
getequipment proc near
int 11h
ret
getequipment endp
END